<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/admin/include/init_admin.jsp" %>
<%@ page import="com.welfare.admin.call.*" %>
<%
	String customerId	= StringUtil.nvl(request.getParameter("customer_id"));
	String sort_col		= StringUtil.nvl(request.getParameter("sort_col"), "counsel_date||counsel_id");
	String sort_asc		= StringUtil.nvl(request.getParameter("sort_asc"), "desc");
	
	HashMap infos = new HashMap();
	//paging
	infos.put("customer_id",	customerId);
	infos.put("use_yn", "Y");
	infos.put("sort_col", sort_col);
	infos.put("sort_asc", sort_asc);
	
	CallDAO dao 	= new CallDAO();
	HashList list 	= dao.selectCounselList(infos);


	for (int i = 0; i < list.size(); i++) {
%>
		<tr height="26px;" counsel_id="<%= list.get("counsel_id",i) %>"> 
			<td class="c blx"><%= list.get("counsel_path",i) %></td>
			<td class="c"><%= StringUtil.toDate(list.get("counsel_date",i),".") %></td>
			<td class="c"><%= list.get("counseller",i) %></td>
			<td><%= list.get("counsel_kind1",i) %></td>
			<td><%= list.get("counsel_kind2",i) %></td>
			<td><%= list.get("counsel_kind3",i) %></td>
			<td class="brx"><%= list.get("service_name",i) %></td>
		</tr>
<%
	}
%>
						
